* Avoid implicit conversion of int to QChar.
In Qt6 the constructor QChar(int code) is explicit by default.
* update codacy coverage reporter
* move coverage generation to focal.
* use binary codacy coverage reporter
- $HOME/Cache
timeout: 600
- os: linux
- dist: bionic
+ dist: focal
compiler: gcc
env:
- BUILD_TYPE="coverage"
{
auto* wpt = const_cast<Waypoint*>(wptref);
- if ((wpt->shortname[0] == 1) && (wpt->latitude == 0) && (wpt->longitude == 0)) {
+ if ((wpt->shortname[0] == '\01') && (wpt->latitude == 0) && (wpt->longitude == 0)) {
mmo_data_t* data;
Waypoint* wpt2;
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if [ -v CODACY_PROJECT_TOKEN ] ; then
# upload coverate report to codacy.
- wget -nv -c https://github.com/codacy/codacy-coverage-reporter/releases/download/6.2.0/codacy-coverage-reporter-assembly-6.2.0.jar
- java -jar codacy-coverage-reporter-assembly-6.2.0.jar report -l cpp -f -r gpsbabel_coverage.xml
+ bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l CPP -r gpsbabel_coverage.xml
else
echo "Skipping codacy coverage upload as CODACY_PROJECT_TOKEN is not set."
fi